package com.edu.bean;

public class Goods {
    private int goodsId;
    private String goodsName;
    private String goodsFactory;
    private String goodsType;
    private Double goodsPrice;
    private int goodsNum;

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public Goods() {
        super();
    }

    public Goods(int goodsId, String goodsName, String goodsFactory, String goodsType, Double goodsPrice, int goodsNum) {
        super();
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsFactory = goodsFactory;
        this.goodsType = goodsType;
        this.goodsPrice = goodsPrice;
        this.goodsNum = goodsNum;
    }

    public void setGoodsName(String goodsName) {

        this.goodsName = goodsName;
    }

    public String getGoodsFactory() {

        return goodsFactory;
    }

    public void setGoodsFactory(String goodsFactory) {

        this.goodsFactory = goodsFactory;
    }

    public String getGoodsType() {

        return goodsType;
    }

    public void setGoodsType(String goodsType) {

        this.goodsType = goodsType;
    }

    public Double getGoodsPrice() {

        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {

        this.goodsPrice = goodsPrice;
    }

    public int getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(int goodsNum) {
        this.goodsNum = goodsNum;
    }
}
